<script setup>
import { useRouter } from 'vue-router'
const router = useRouter()

function onClickLeft() {
    router.go(-1)
}
</script>

<template>
    <div>
        <van-nav-bar title="学习如何接听电话" left-text="返回" left-arrow @click="onClickLeft" />
        <div class="learn-call-phone">
            <img src="../../assets//helper.jpg" alt="接听图片">
            <div>
                当盲人或视障者请求帮助时，应用程序会通知多位志愿者，然后连接第一个应答的人员。接听来电很容易。当您收到来电时，只需要接受就行。
            </div>
        </div>
    </div>
</template>

<style scoped>
.learn-call-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

img {
    width: 80%;
    height: 300px;
    object-fit: cover;
}

.learn-call-phone div {
    margin-top: 20px;
    padding: 0 10px;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: #333;
}
</style>